package com.xingxue.shopping.model.service;

import java.util.List;

import com.xingxue.shopping.model.entity.Pager;
import com.xingxue.shopping.model.persist.Goods;

public interface IGoodsService {

    //查询所有商品
	List<Goods> getAll();
	//添加商品
	Integer addGoods(Goods g);
	List<Goods> getDataByPage(Pager pager);
	
}
